<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="row[title]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" class="form-control editor" rows="5" name="row[content]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Need_confirm')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-need_confirm" class="form-control" name="row[need_confirm]" type="number" value="2">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jump')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jump" class="form-control" name="row[jump]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Teacher_class_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-teacher_class_id" data-rule="required" data-source="teacher/class/index" class="form-control selectpage" name="row[teacher_class_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Teacher_class_dtl_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-teacher_class_dtl_id" data-rule="required" data-source="teacher/class/dtl/index" class="form-control selectpage" name="row[teacher_class_dtl_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Send_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-send_user_id" data-rule="required" data-source="send/user/index" class="form-control selectpage" name="row[send_user_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Get_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-get_user_id" data-rule="required" data-source="get/user/index" class="form-control selectpage" name="row[get_user_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Identity_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-identity_type" class="form-control" name="row[identity_type]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Addtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-addtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[addtime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_read')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_read" class="form-control" name="row[is_read]" type="number" value="1">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
